home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / CE Software Product Guide.cpt / CE Software Product Guide / card_8566.txt < prev    next >
Text File  |  1990-01-03  |  11KB  |  478 lines

  1. -- card: 8566 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2080
  5. -- name: Help
  6. ----- HyperTalk script -----
  7. on pfm number
  8.  
  9.   if number = 1
  10.   then
  11.   put Return & "This button is used to move to the next product." & Return & "If this button is dimmed, there is not another product to go to ." & Return & Return & "Click here to exit Help." into textholder
  12. end if
  13.  
  14. if number = 2
  15. then
  16. put Return & "This button is used to move to the previous product." & Return & "If this button is dimmed, there is not a previous product to go to." & Return & Return & "Click here to exit Help." into textholder
  17. end if
  18.  
  19. if number = 3
  20. then
  21. put Return & "Clicking on this button will bring you to this Help card.  " & "If this button is dimmed, help is not available at that point." & Return & Return & "Click here to exit Help." into textholder
  22. end if
  23.  
  24. if number = 4
  25. then
  26. put Return & "Clicking on this button will take you to the main product 'shelf'.  " & Return & Return & Return & "Click here to exit Help." into textholder
  27. end if
  28.  
  29. if number = 5
  30. then
  31. put Return & "Clicking on this button gives you the option of leaving this" & " stack and returning to the Home stack or to the Finder." & Return & Return & "Click here to exit Help." into textholder
  32. end if
  33.  
  34. if number = 6
  35. then
  36. put Return & "Clicking on this button will show a 'Fact Sheet' for a product.  " & " Fact Sheets contain a brief description of the product, its " & "features and requirements." & Return & Return & "Click here to exit Help." into textholder
  37. end if
  38.  
  39. if number = 7
  40. then
  41. put Return & "Clicking on this button will show an overview of a product.  " & "Overview shows how a particular software product can " & "meet your computing needs." & Return & Return & "Click here to exit Help." into textholder
  42. end if
  43.  
  44. if number = 8
  45. then
  46. put Return & "Clicking on this button takes you to another stack which " & " contains a demo of the product." & Return & Return & Return & "Click here to exit Help." into textholder
  47. end if
  48.  
  49. if number = 9
  50. then
  51. put Return & "Clicking on this button will print either the " & "Overview or the Fact Sheet, whichever if currently shown." & Return & Return & "Click here to exit Help." into textholder
  52. end if
  53.  
  54. set lockscreen to true
  55. put textholder into card field "HelpMe"
  56. show card field "HelpMe"
  57. unlock screen with visual effect dissolve
  58. end pfm
  59.  
  60.  
  61. on closeCard
  62.   hide card field "HelpMe"
  63. end CloseCard
  64.  
  65.  
  66.  
  67. -- part 2 (button)
  68. -- low flags: 00
  69. -- high flags: 0001
  70. -- rect: left=466 top=302 right=326 bottom=510
  71. -- title width / last selected line: 0
  72. -- icon id / first selected line: 10668 / 10668
  73. -- text alignment: 1
  74. -- font id: 0
  75. -- text size: 12
  76. -- style flags: 0
  77. -- line height: 16
  78. -- part name: 
  79. ----- HyperTalk script -----
  80. on mouseUp
  81.   visual effect scroll right
  82.   pop card
  83. end mouseUp
  84.  
  85.  
  86.  
  87. -- part 3 (button)
  88. -- low flags: 00
  89. -- high flags: 0001
  90. -- rect: left=211 top=302 right=326 bottom=467
  91. -- title width / last selected line: 0
  92. -- icon id / first selected line: 0 / 0
  93. -- text alignment: 1
  94. -- font id: 0
  95. -- text size: 12
  96. -- style flags: 0
  97. -- line height: 16
  98. -- part name: 
  99. ----- HyperTalk script -----
  100. on mouseUp
  101.   visual effect scroll right
  102.   pop card
  103. end mouseUp
  104.  
  105.  
  106.  
  107. -- part 4 (button)
  108. -- low flags: 00
  109. -- high flags: 2000
  110. -- rect: left=39 top=149 right=178 bottom=84
  111. -- title width / last selected line: 0
  112. -- icon id / first selected line: 9632 / 9632
  113. -- text alignment: 1
  114. -- font id: 0
  115. -- text size: 12
  116. -- style flags: 0
  117. -- line height: 16
  118. -- part name: 
  119. ----- HyperTalk script -----
  120. on mouseUp
  121.   pfm 5
  122. end mouseUp
  123.  
  124.  
  125.  
  126. -- part 5 (button)
  127. -- low flags: 00
  128. -- high flags: 2000
  129. -- rect: left=39 top=115 right=140 bottom=84
  130. -- title width / last selected line: 0
  131. -- icon id / first selected line: 10668 / 10668
  132. -- text alignment: 1
  133. -- font id: 0
  134. -- text size: 12
  135. -- style flags: 0
  136. -- line height: 16
  137. -- part name: 
  138. ----- HyperTalk script -----
  139. on mouseUp
  140.   pfm 4
  141. end mouseUp
  142.  
  143.  
  144.  
  145. -- part 6 (button)
  146. -- low flags: 00
  147. -- high flags: 2000
  148. -- rect: left=39 top=79 right=108 bottom=84
  149. -- title width / last selected line: 0
  150. -- icon id / first selected line: 2442 / 2442
  151. -- text alignment: 1
  152. -- font id: 0
  153. -- text size: 12
  154. -- style flags: 0
  155. -- line height: 16
  156. -- part name: 
  157. ----- HyperTalk script -----
  158. on mouseUp
  159.   pfm 3
  160. end mouseUp
  161.  
  162.  
  163.  
  164. -- part 7 (button)
  165. -- low flags: 00
  166. -- high flags: 2000
  167. -- rect: left=39 top=9 right=37 bottom=84
  168. -- title width / last selected line: 0
  169. -- icon id / first selected line: 5814 / 5814
  170. -- text alignment: 1
  171. -- font id: 0
  172. -- text size: 12
  173. -- style flags: 0
  174. -- line height: 16
  175. -- part name: 
  176. ----- HyperTalk script -----
  177. on mouseUp
  178.   pfm 1
  179. end mouseUp
  180.  
  181.  
  182.  
  183. -- part 8 (button)
  184. -- low flags: 00
  185. -- high flags: 2000
  186. -- rect: left=39 top=43 right=72 bottom=84
  187. -- title width / last selected line: 0
  188. -- icon id / first selected line: 15010 / 15010
  189. -- text alignment: 1
  190. -- font id: 0
  191. -- text size: 12
  192. -- style flags: 0
  193. -- line height: 16
  194. -- part name: 
  195. ----- HyperTalk script -----
  196. on mouseUp
  197.   pfm 2
  198. end mouseUp
  199.  
  200.  
  201.  
  202. -- part 10 (field)
  203. -- low flags: 81
  204. -- high flags: 0002
  205. -- rect: left=158 top=59 right=141 bottom=444
  206. -- title width / last selected line: 0
  207. -- icon id / first selected line: 0 / 0
  208. -- text alignment: 1
  209. -- font id: 63
  210. -- text size: 9
  211. -- style flags: 0
  212. -- line height: 12
  213. -- part name: HelpMe
  214. ----- HyperTalk script -----
  215. on mouseUp
  216.   set lockscreen to true
  217.   hide me
  218.   unlock screen with visual effect dissolve
  219. end MouseUp
  220.  
  221.  
  222.  
  223. -- part 12 (button)
  224. -- low flags: 00
  225. -- high flags: 0000
  226. -- rect: left=345 top=240 right=292 bottom=405
  227. -- title width / last selected line: 0
  228. -- icon id / first selected line: 0 / 0
  229. -- text alignment: 1
  230. -- font id: 0
  231. -- text size: 12
  232. -- style flags: 0
  233. -- line height: 16
  234. -- part name: 
  235. ----- HyperTalk script -----
  236. on mouseUp
  237.   pfm 6
  238. end mouseUp
  239.  
  240.  
  241.  
  242. -- part 13 (button)
  243. -- low flags: 00
  244. -- high flags: 0000
  245. -- rect: left=285 top=240 right=292 bottom=345
  246. -- title width / last selected line: 0
  247. -- icon id / first selected line: 0 / 0
  248. -- text alignment: 1
  249. -- font id: 0
  250. -- text size: 12
  251. -- style flags: 0
  252. -- line height: 16
  253. -- part name: 
  254. ----- HyperTalk script -----
  255. on mouseUp
  256.   pfm 7
  257. end mouseUp
  258.  
  259.  
  260.  
  261. -- part 14 (button)
  262. -- low flags: 00
  263. -- high flags: 0000
  264. -- rect: left=402 top=240 right=291 bottom=455
  265. -- title width / last selected line: 0
  266. -- icon id / first selected line: 0 / 0
  267. -- text alignment: 1
  268. -- font id: 0
  269. -- text size: 12
  270. -- style flags: 0
  271. -- line height: 16
  272. -- part name: 
  273. ----- HyperTalk script -----
  274. on mouseUp
  275.   go to card "SLBnames"
  276. end mouseUp
  277.  
  278.  
  279.  
  280. -- part 15 (button)
  281. -- low flags: 00
  282. -- high flags: 0000
  283. -- rect: left=455 top=240 right=292 bottom=512
  284. -- title width / last selected line: 0
  285. -- icon id / first selected line: 0 / 0
  286. -- text alignment: 1
  287. -- font id: 0
  288. -- text size: 12
  289. -- style flags: 0
  290. -- line height: 16
  291. -- part name: 
  292. ----- HyperTalk script -----
  293. on mouseUp
  294.   pfm 9
  295. end mouseUp
  296.  
  297.  
  298.  
  299. -- part 16 (button)
  300. -- low flags: 00
  301. -- high flags: 8000
  302. -- rect: left=145 top=242 right=290 bottom=263
  303. -- title width / last selected line: 0
  304. -- icon id / first selected line: 12040 / 12040
  305. -- text alignment: 1
  306. -- font id: 0
  307. -- text size: 12
  308. -- style flags: 0
  309. -- line height: 16
  310. -- part name: Install Icon in Home Card
  311. ----- HyperTalk script -----
  312. on mouseUp
  313.   ShowDialog 1,3759,"Do you want to install the CES Demos button in your home stack?",TRUE
  314.  
  315.   if the result ‚↠1
  316.   then
  317.   exit mouseUp
  318. end if
  319.  
  320. set userlevel to 5
  321.  
  322. put the short name of this stack into thisStack
  323.  
  324. put "Installing icon in Home Stack..."
  325.  
  326. push card
  327.  
  328. set the cursor to 4
  329.  
  330. choose button tool
  331.  
  332. click at loc of me
  333.  
  334. doMenu "Copy Button"
  335.  
  336. visual effect wipe left
  337. go home
  338.  
  339. doMenu "Paste Button"
  340.  
  341. set loc of cd btn "Install Icon in Home Card" to 61,91
  342. set name of cd btn "Install Icon in Home Card" to thisStack
  343.  
  344. set the cursor to 3
  345.  
  346. put "Drag the CES Demos button to where you want it..."
  347. wait until the mouse is down
  348. repeat until the mouse is up
  349.   set loc of cd btn thisStack to the mouseLoc
  350. end repeat
  351.  
  352. put "on mouseUp" & return into setScript
  353.  
  354. visual effect dissolve
  355.  
  356. put "visual effect iris open" & return after setScript
  357. put "go stack" && the NumToChar of 34 & thisStack & the NumToChar of 34 & return after setScript
  358. put "end mouseUp" & return after setScript
  359. set script of cd btn thisStack to setScript
  360.  
  361. choose browse tool
  362.  
  363. visual effect dissolve
  364. --go back
  365. pop card
  366.  
  367. play harpsichord "ee c"
  368.  
  369. put "All done!"
  370.  
  371. wait 2 seconds
  372. hide msg
  373.  
  374. end mouseUp
  375.  
  376.  
  377.  
  378. -- part 18 (button)
  379. -- low flags: 00
  380. -- high flags: 2000
  381. -- rect: left=292 top=300 right=329 bottom=337
  382. -- title width / last selected line: 0
  383. -- icon id / first selected line: 15010 / 15010
  384. -- text alignment: 1
  385. -- font id: 0
  386. -- text size: 12
  387. -- style flags: 0
  388. -- line height: 16
  389. -- part name: 
  390. ----- HyperTalk script -----
  391. on mouseUp
  392.   global FrontField
  393.   put "OV" into FrontField
  394.  
  395.   set lockscreen to true
  396.   hide background field "Text1"
  397.   show background field "Text2"
  398.   go to prev card
  399.   unlock screen with visual effect scroll right
  400. end mouseUp
  401.  
  402.  
  403.  
  404. -- part 19 (button)
  405. -- low flags: 00
  406. -- high flags: 2000
  407. -- rect: left=336 top=300 right=328 bottom=381
  408. -- title width / last selected line: 0
  409. -- icon id / first selected line: 5814 / 5814
  410. -- text alignment: 1
  411. -- font id: 0
  412. -- text size: 12
  413. -- style flags: 0
  414. -- line height: 16
  415. -- part name: 
  416. ----- HyperTalk script -----
  417. on mouseUp
  418.   global FrontField
  419.   put "OV" into FrontField
  420.  
  421.   set lockscreen to true
  422.   hide background field "Text1"
  423.   show background field "Text2"
  424.   go to card "
  425.   unlock screen with visual effect scroll left
  426. end mouseUp
  427.  
  428.  
  429.  
  430. -- part 20 (button)
  431. -- low flags: 00
  432. -- high flags: 2000
  433. -- rect: left=380 top=300 right=329 bottom=425
  434. -- title width / last selected line: 0
  435. -- icon id / first selected line: 2442 / 2442
  436. -- text alignment: 1
  437. -- font id: 0
  438. -- text size: 12
  439. -- style flags: 0
  440. -- line height: 16
  441. -- part name: 
  442. ----- HyperTalk script -----
  443. on mouseUp
  444.   push card
  445.   visual effect scroll left
  446.   go to card "Help"
  447. end mouseUp
  448.  
  449.  
  450.  
  451. -- part contents for background part 1
  452. ----- text -----
  453. Help...
  454.  
  455. Click on any of the buttons on this card to show more information about that button and its function.
  456.  
  457. The "Install Icon in Home Card" button will install a button in your Home Card which will automatically take you to this stack.
  458.  
  459. Click the button in the lower right corner to return to the last card you were at.
  460.  
  461. -- part contents for background part 2
  462. ----- text -----
  463. Help...
  464.  
  465. Who needs help?  After all, this is HyperCard, one of the easiest programs in the world to use.
  466.  
  467. Just try clicking on things to see what they do.  Don't be afraid to experiment, you can't break anything.
  468.  
  469. Click on any of the buttons to the left to display information about their functions.
  470.  
  471. Click the button in the lower right corner to return to the last card you were at.
  472.  
  473. -- part contents for card part 10
  474. ----- text -----
  475.  
  476. Clicking on this button will show a 'Fact Sheet' for a product.   Fact Sheets contain a brief description of the product, its features and requirements.
  477.  
  478. Click here to exit Help.